import { createRouter, createWebHashHistory } from "vue-router";
import routes from "./routes";

const Router = createRouter({
  history: createWebHashHistory(),
  routes,
});

// 守卫
Router.beforeEach((to, from, next) => {
  next();
});

export default Router;
